<?xml version="1.0" encoding="utf-8"?>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
  
 	
	
   <div id="divsumir" name="divsumir"> 
  <s:form action="mantercomentario!saveComentario" theme="simple"  method="post" id="form">
  	 

  	
         	<sj:a href="listarcomentariosfeira?idDebate=%{idDebate}" targets="mainestande" indicator="myDefaultIndicator"  errorElementId="divError" errorText="Desculpe sua conexão parece estar com problemas."><span class="ui-state-default ui-corner-all">Retornar</span></sj:a>
    	
          	<sj:a id="ajaxformlink" formIds="form"  targets="mainestande" indicator="myDefaultIndicator" errorText="Desculpe sua conexão parece estar com problemas." errorElementId="divError" onclick="divSumir();" ><span class="ui-state-default ui-corner-all">Salvar</span>
    		</sj:a>
         	
  	<s:actionerror cssClass="ui-state-error ui-corner-all" cssStyle="padding: 0pt 0.7em;"/>  	 
  	<s:actionmessage cssClass="ui-state-highlight ui-corner-all" cssStyle="padding: 0pt 0.7em; margin-top: 20px;"/>
		
	 <fieldset class="ui-widget ui-widget-content ui-corner-all" style="margin: 10px">
  	 		<legend class="ui-state-default ui-corner-all">&nbsp;&nbsp;&nbsp;Comentar&nbsp;&nbsp;&nbsp;</legend>
  	 		<br>  	 		
		<table width="100%">
		<tr valign="top" style="height: 40px;">	
			<td>
    				<s:textarea name="texto" cols="100" rows="8"/>
					<s:hidden name="idDebate"/>
					
				<s:if test="%{comentario.id != null}">	
					<s:hidden name="id"/>					
				</s:if>
			</td>		
			
			</table>
	
	</fieldset>
	
 </s:form>
 
 <s:if test="%{idCentro != null}">
 	<img id="indicator2" src="images/indicator2.gif" alt="Loading..." style="display:none"/>
 	 <sj:div  href="%{urllistarestandes}" id="listaestandes" indicator="myDefaultIndicator" errorText="Desculpe sua conexão parece estar com problemas." errorElementId="divError">
        
    </sj:div>

</s:if>
</div>
 	

